package routers

import (
	"admin-pro/handlers"
	"github.com/gin-gonic/gin"
)

func Init() *gin.Engine {
	r := gin.Default()
	r.POST("/login", handlers.Login)
	r.POST("/create", handlers.CreateRN)
	return r
}
